/**
 * Description: localStorage工具类
 *
 * Created by hrx on 2023/9/18
 */
// 工具型方法  保存  localStorage
function saveLocal (key: string, value: string) {
  window.localStorage.setItem(key, value)
}
// 获取Token方法
function getLocal (key: string) {
  return window.localStorage.getItem(key)
}
// 移除token
function removeLocal (key: string) {
  window.localStorage.removeItem(key)
}
// 输出 出去
export { saveLocal, getLocal, removeLocal }
